import java.net.*;
import java.io.*;

class guimain
{
	public static void main(String[] args) {
		Socket clientSocket;
		
		//Create server socket
		try {
			ServerSocket serverSocket = new ServerSocket(Integer.parseInt(args[0]));
			clientSocket = serverSocket.accept();

			//Wait for connection
		
			//Create gui
			VoIPGui theGui = new VoIPGui(clientSocket);

			//Wait for gui to finish
		} catch (Exception e)
		{
		}
	}//main

}//guimain
